|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.facebook.Settings
public final class Settings
Allows some customization of sdk behavior.
| Constructor Summary | |
|---|---|
Settings()
|
|
| Method Summary | |
|---|---|
static void |
addLoggingBehavior(LoggingBehavior behavior)
Certain logging behaviors are available for debugging beyond those that should be enabled in production. |
static void |
clearLoggingBehaviors()
Certain logging behaviors are available for debugging beyond those that should be enabled in production. |
static String |
getAttributionId(ContentResolver contentResolver)
|
static Executor |
getExecutor()
Returns the Executor used by the SDK for non-AsyncTask background work. |
static Set<LoggingBehavior> |
getLoggingBehaviors()
Certain logging behaviors are available for debugging beyond those that should be enabled in production. |
static boolean |
getShouldAutoPublishInstall()
Gets whether opening a Session should automatically publish install attribution to the Facebook graph. |
static boolean |
isLoggingBehaviorEnabled(LoggingBehavior behavior)
Certain logging behaviors are available for debugging beyond those that should be enabled in production. |
static boolean |
publishInstallAndWait(Context context,
String applicationId)
Manually publish install attribution to the Facebook graph. |
static void |
publishInstallAsync(Context context,
String applicationId)
|
static void |
removeLoggingBehavior(LoggingBehavior behavior)
Certain logging behaviors are available for debugging beyond those that should be enabled in production. |
static void |
setExecutor(Executor executor)
Sets the Executor used by the SDK for non-AsyncTask background work. |
static void |
setShouldAutoPublishInstall(boolean shouldAutoPublishInstall)
Sets whether opening a Session should automatically publish install attribution to the Facebook graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Settings()
| Method Detail |
|---|
public static final Set<LoggingBehavior> getLoggingBehaviors()
public static final void addLoggingBehavior(LoggingBehavior behavior)
behavior - The LoggingBehavior to enablepublic static final void removeLoggingBehavior(LoggingBehavior behavior)
behavior - The LoggingBehavior to disablepublic static final void clearLoggingBehaviors()
public static final boolean isLoggingBehaviorEnabled(LoggingBehavior behavior)
behavior - The LoggingBehavior to check
public static Executor getExecutor()
public static void setExecutor(Executor executor)
executor - the Executor to use; must not be null.
public static void publishInstallAsync(Context context,
String applicationId)
public static void setShouldAutoPublishInstall(boolean shouldAutoPublishInstall)
shouldAutoPublishInstall - true to automatically publish, false to notpublic static boolean getShouldAutoPublishInstall()
public static boolean publishInstallAndWait(Context context,
String applicationId)
context - the current Context
public static String getAttributionId(ContentResolver contentResolver)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||